﻿package com.ease.common.vo
{
	import mx.collections.ArrayCollection;

	[Bindable]
	[RemoteClass(alias="com.ease.common.vo.Pagination")]
	
	public class Pagination
	{
		public static const SIZE:int=20;

		private var _items:mx.collections.ArrayCollection;
		private var _index:int;
		private var _size:int;
		private var _count:int;
		private var _counted:Boolean;

		public function Pagination()
		{
		}

		public function get items():mx.collections.ArrayCollection
		{
			return _items;
		}

		public function set items(value:mx.collections.ArrayCollection):void
		{
			_items = value;
		}

		public function get index():int
		{
			return _index;
		}

		public function set index(value:int):void
		{
			_index = value;
		}

		public function get size():int
		{
			return _size;
		}

		public function set size(value:int):void
		{
			_size = value;
		}

		public function get count():int
		{
			return _count;
		}

		public function set count(value:int):void
		{
			_count = value;
		}

		public function get counted():Boolean
		{
			return _counted;
		}

		public function set counted(value:Boolean):void
		{
			_counted = value;
		}
	}
}